﻿<%@ Page Title="" Language="C#" MasterPageFile="~/members/Site.Master" AutoEventWireup="true" CodeBehind="Settings.aspx.cs" Inherits="eProcurement.members.Settings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Account Settings</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h1 class="page-header">Account Settings</h1>
        <h4>Ensure that your account infomation is up to date and accurate</h4>
        <br />
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">Update your Account Details</h3>
            </div>
            <div class="panel-body">
                <div class="form-horizontal" role="form">
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label text-muted">Email Address</label>
                        <div class="col-sm-9">
                            <label type="text" class="form-control" runat="server" id="txtUsername" placeholder="johndoe@email.com" />
                        </div>
                        <label for="inputEmail3" class="col-sm-2 control-label"></label>
                        <div class="col-sm-10">
                            <div class="label label-info" runat="server" id="erruser" visible="false" role="alert">This user already exists!</div>
                        </div>
                    </div>
                    <div class="form-group">
                        <asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
                        <label for="inputEmail3" class="col-sm-2 control-label">Old Password</label>
                        <div class="col-sm-9">
                            <input type="password" class="form-control" runat="server" id="txtOldPassword" placeholder="Enter your old password" />
                        </div>
                        <label for="inputEmail3" class="col-sm-2 control-label"></label>
                        <div class="col-sm-10">
                            <div class="label label-info" runat="server" id="lblOldPwdError" visible="false" role="alert">Your password does not match your old one!</div>
                        </div>
                    </div>
                    <div class="form-group">
                        <asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
                        <label for="inputEmail3" class="col-sm-2 control-label">New Password</label>
                        <div class="col-sm-9">
                            <input type="password" class="form-control" runat="server" id="txtPassword" placeholder="Create a strong password" />
                        </div>
                        <label for="inputEmail3" class="col-sm-2 control-label"></label>
                        <div class="col-sm-10">
                            <div class="label label-info" runat="server" id="errpwdlength" visible="false" role="alert">Your password must be at least 6 characters long!</div>
                        </div>
                    </div>
                    <div class="form-group">
                        <asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
                        <label for="inputEmail3" class="col-sm-2 control-label">Confirm Password</label>
                        <div class="col-sm-9">
                            <input type="password" class="form-control" runat="server" id="txtCPassword" placeholder="Confirm your password" />
                        </div>
                        <label for="inputEmail3" class="col-sm-2 control-label"></label>
                        <div class="col-sm-10">
                            <div runat="server" id="lblPasswordMatchError" visible="false" class="label label-info" role="alert">Your passwords must match!</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <asp:Button ID="btnSave" runat="server" CssClass="btn btn-primary" Text="Save Changes" OnClick="btnSave_Click" /> <button class="btn btn-default" type="reset">Reset</button>
        <p><span runat="server" id="tipSaved" visible="false" class="alert alert-success">Profile updated succeessfully!</span></p>
    </div>
</asp:Content>
